package top.iforum.bbs.modules.posts.service.impl;

import top.iforum.common.mybatis.mvc.service.impl.CommonServiceImpl;
import top.iforum.bbs.modules.posts.service.IPostsColumnService;
import top.iforum.bbs.modules.posts.entity.PostsColumn;
import top.iforum.bbs.modules.posts.mapper.PostsColumnMapper;
import top.iforum.common.mybatis.mvc.wrapper.EntityWrapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
* All rights Reserved, Designed By www.iforum.top
*
* @version V1.0
* @package top.iforum.bbs.modules.bbs.service.impl
* @title: 帖子栏目服务实现
* @description: 帖子栏目服务实现
* @author: 张娜
* @date: 2018-08-30 22:50:10
* @copyright: 2018 www.iforum.top Inc. All rights reserved.
*/
@Transactional
@Service("postscolumnService")
public class PostsColumnServiceImpl  extends CommonServiceImpl<PostsColumnMapper,PostsColumn> implements  IPostsColumnService {

    @Override
    public Iterable<? extends PostsColumn> selectAllPostsColumn() {
        return baseMapper.selectList(null);
    }
}